{% extends "bet_base.html" %}
{% block extra_styles %}
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}styles/style2.css" />
<link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}styles/formly.css"  />
<script type="text/javascript" src="{{MEDIA_URL}}js/formly.js"></script>
{%endblock%}
{% block content %}

<div id="maincontent">
<h1> Submit your feedback here. We appreciate your comments and are actively trying to improve this beta. </h1>
 
 <div class="bets">

 {% if message %}
<h2>{{message}}</h2>
{%else%}
<h2>{{error}}</h2>
<form action="feedback" method="post" id="comment">
 {% csrf_token %}
 {{anon}}
 {{ form.anon.errors }}
 <label for="anon">Check here if you want this anonymous:</label>
   {{form.anon}}
	<br>
	<br>
	{{ form.comment.errors }}
 <label for="comment">
 Your comments:</label><br>
 {{form.comment}}
 <br>
 <input type="submit" value="Submit!" />
</form>
{% endif %}
</div>



</div>

<script>
$(document).ready(function()
  { $('#comment').formly({'onBlur':false, 'theme':'Light'}); });
</script>
{% endblock %}